# $Id$
#

AUTOMAKE_OPTIONS = foreign

AM_CFLAGS=-I$(top_srcdir)/include -I$(top_srcdir)/src
AM_CFLAGS+=`pkg-config --cflags glibmm-2.4`
AM_CFLAGS+=-fno-strict-aliasing -fPIC -std=c++0x

AM_LDFLAGS=`pkg-config --libs glibmm-2.4`
AM_LDFLAGS+= `pkg-config --libs libpqxx`

pkglib_LTLIBRARIES = ipproc.la

#ipproc_la_SOURCES = ../../../src/interface-processor.cc ipproc.cc attributes.cc iptrie.cc ../../data/indextransactions.cc ../../data/itemsets.cc ../../data/hashtree.cc

ipproc_la_SOURCES=../../../src/interface-processor.cc
ipproc_la_SOURCES+=ipproc.cc
ipproc_la_SOURCES+=attributes.cc
ipproc_la_SOURCES+=iptrie.cc
ipproc_la_SOURCES+=../../data/indextransactions.cc
ipproc_la_SOURCES+=../../data/itemsets.cc
ipproc_la_SOURCES+=../../data/hashtree.cc

ipproc_la_LDFLAGS = -module  -no-undefined -avoid-version ${AM_LDFLAGS} ${AM_CFLAGS}

ipproc_la_CPPFLAGS = ${AM_CFLAGS}

